home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-02-12 | 2.1 KB | 83 lines | [TEXT/MPS ] |
- ;
- ; File: QD3DString.a
- ;
- ; Contains: Q3CString methods
- ;
- ; Version: Technology: Quickdraw 3D 1.5.4
- ; Release: Universal Interfaces 3.1
- ;
- ; Copyright: © 1995-1998 by Apple Computer, Inc., all rights reserved.
- ;
- ; Bugs?: Please include the the file and version information (from above) with
- ; the problem description. Developers belonging to one of the Apple
- ; developer programs can submit bug reports to:
- ;
- ; devsupport@apple.com
- ;
- ;
- IF &TYPE('__QD3DSTRING__') = 'UNDEFINED' THEN
- __QD3DSTRING__ SET 1
-
- IF &TYPE('__QD3D__') = 'UNDEFINED' THEN
- include 'QD3D.a'
- ENDIF
-
- ; ******************************************************************************
- ; ** **
- ; ** String Routines **
- ; ** **
- ; ****************************************************************************
-
- ;
- ; extern TQ3ObjectType Q3String_GetType(TQ3StringObject stringObj)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3String_GetType
- ENDIF
-
-
- ; ******************************************************************************
- ; ** **
- ; ** C String Routines **
- ; ** **
- ; ****************************************************************************
-
- ;
- ; extern TQ3StringObject Q3CString_New(const char *str)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_New
- ENDIF
-
- ;
- ; extern TQ3Status Q3CString_GetLength(TQ3StringObject stringObj, unsigned long *length)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_GetLength
- ENDIF
-
- ;
- ; extern TQ3Status Q3CString_SetString(TQ3StringObject stringObj, const char *str)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_SetString
- ENDIF
-
- ;
- ; extern TQ3Status Q3CString_GetString(TQ3StringObject stringObj, char **str)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_GetString
- ENDIF
-
- ;
- ; extern TQ3Status Q3CString_EmptyData(char **str)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_EmptyData
- ENDIF
-
-
- ENDIF ; __QD3DSTRING__
-
-